<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{$seo_title} - {$web_name}</title>
	<Pintuer />
	<Layer />
	<link rel="stylesheet" href="{:__CSS__}/default.css" />
	<script type="text/javascript" src="{:__JS__}/default.js"></script>
</head>
<body>
	<style type="text/css">
		body{
			padding-top:45px;
		}
	</style>
	<!-- 播放页面导航条 开始 -->
	<div class="layout video-nav-box">
		<div class="container">
			<div class="line">
				<div class="x2">
					<a href="__ROOT__/">
						<img src="__PUBLIC__/images/logo.png" height="45" />
					</a>
				</div>
				<div class="x7 show-search">
					<form action="{:U('Home/Index/search')}" target="_blank">
						<div class="input-inline clearfix">
							<input type="text" class="input radius-none" name="keywords" size="35" />
							<button class="button radius-none bg-green">
								<i class="icon-search"></i>
								搜 索
							</button>
						</div>
					</form>
				</div>
				<div class="x3">
					<ul class="user-menu-list">
						<?php if (empty($_SESSION['Home']['uid'])): ?>
							<li>
								<a href="javascript:void(0);" onclick="login_box('{:U('Public/login')}');" class="padding-small-right">
									<i class="icon-user"></i>
									登录/注册
								</a>
							</li>
						<?php else: ?>
							<li>
								<a href="javascript:GetUrl('{:U('Member/index')}');" class="padding-small-right">
									欢迎你!
									<i class="icon-user"></i>
									{$user_info.nick_name}
								</a>
								<ul class="user-info-tow border-left border-right border-bottom">
									<li>
										<a href="javascript:GetUrl('{:U('Videos/index')}');">管理视频</a>
									</li>
									<li>
										<a href="javascript:GetUrl('{:U('Videos/add')}');">上传视频</a>
									</li>
									<li>
										<a href="javascript:sendGet('{:U('Public/user_out')}', '是否确认立即退出？');">立即退出</a>
									</li>
								</ul>
							</li>
						<?php endif; ?>
						<li>
							<a href="javascript:void(0);" class="padding-small-right" onclick="alert('功能正在开发中...');">
								<i class="icon-clock-o"></i>
								播放记录
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<!-- 播放页面导航条 结束 -->

	<!-- Content 开始 -->
	<div class="layout margin-little-top">
		<div class="container">
			{:hook('VideoDetail', array('QINIU_DOMAIN'=> C('QINIU_DOMAIN'), 'video_info'=> $video_info,'PUBLIC_PATH'=> '__PUBLIC__','MIC_DOMAIN'=> C('MIC_DOMAIN')))}
		</div>
	</div>
	<!-- Content 结束 -->
</body>
</html>